package ynu.czs.service;

import ynu.czs.pojo.Orders;
import ynu.czs.pojo.User;

import java.util.List;

public interface UserService {

    User getUserInfo(Long userId);
    User login(User user);

    User register(User user);

    List<Orders> getOrdersNotPay(Long userId);
    List<Orders> getOrdersPay(Long userId);
}
